package org.dairy.farms.nandana.core.logic;

import org.dairy.farms.model.*;
import org.dairy.farms.nandana.web.view.LactationView;
import org.dairy.farms.nandana.web.view.LivestockView;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Divya
 * Date: Jul 4, 2011
 * Time: 5:07:24 PM
 */
public interface LivestockManagementLogic {
    
    Livestock createLivestock(LivestockView livestockView);

    List<LivestockStatusType> getLivestockStatusTypes();

    List<Livestock> getLivestockDetails(Long[] livestockId);
    public Notes addLivestockNotes(Long livestockId, String notes);
    public List<Notes> getLivestockNotes(Long livestockId);

    List<Livestock> searchLivestockBy(String searchBy, String searchParam, int page, int start, int limit);
    int searchLivestockBy(String searchBy, String searchParam);
}
